﻿
using System.ComponentModel.DataAnnotations.Schema;
using KL.Standard.Model.Attribute;
using KL.Standard.Model.Infrastructure;

namespace KL.Standard.Model.Models.BaseArch
{
    [Table("sys_attachment")]
    public class SysAttachmentPO 
    {
       
        /// <summary>
        /// uID
        /// </summary>
        [DbField(selectChangeType = "varchar(50)")]
        public string uID { set; get; }
        /// <summary>
        /// 主表ID
        /// </summary>
        [DbField(selectChangeType = "varchar(50)")]
        public string mainID { set; get; }
        /// <summary>
        /// 数据表名
        /// </summary>
        public string dataTable { set; get; }
        /// <summary>
        /// 附件类型
        /// </summary>
        public string attachType { set; get; }
        /// <summary>
        /// 文件名
        /// </summary>
        public string fileName { set; get; }
        /// <summary>
        /// 真实文件名
        /// </summary>
        public string realFileName { set; get; }
        /// <summary>
        /// 文件后缀
        /// </summary>
        public string fileSuffix { set; get; }
        /// <summary>
        /// 网址
        /// </summary>
        public string webUrl { set; get; }
        /// <summary>
        /// 物理地址
        /// </summary>
        public string phyAddress { set; get; }


        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime createdTime { set; get; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string creatorID { get; set; }
        /// <summary>
        /// 是否已经同步
        /// </summary>
        public int? isSyn { get; set; }
        /// <summary>
        /// 同步时间
        /// </summary>
        public DateTime? synDt { get; set; }
        /// <summary>
        /// 创建批次
        /// </summary>
        [DbField(selectChangeType = "varchar(50)")]
        public  string bldBatchID{ get; set; }
        /// <summary>
        /// 桶
        /// </summary>
        public string bucketName { get; set; }
        /// <summary>
        /// 对象
        /// </summary>
        public string objectName { get; set; }
    }
}
